<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="JS/fun.js"></script>
</head>
<!--onload 窗口事件-->

<!--id 引用   ShowTime提示-->
<p id="one">ShowTime</p>
<!--onclick事件 放function 类名-->
<button onclick="show()">time</button>


<p id="two">showtype</p>
<button onclick="varshow()">type</button>

<p id="three">showthree</p>
<button onclick="varshow()">type</button>

<button onclick="win()">Close</button>
<!--结束-->d
<a href="javascript:self.close()">button</a>
<!--跳转-->
<input type="button" onclick="location.href='http://www.163.com'" value="连接到163">
</body>
</html>